package test01;

public class demo08 {
    public static void main(String[] args) {
        int count1=0;
        int count2=0;
        for(int i=1;i<=100;i++){
            if(i%6==0){
                count1++;
            }
            if(i%3==0 && i%7==0){
                count2++;
            }
        }
        System.out.println("1:  "+count1);
        System.out.println("2:  "+count2);
    }
}
